///////////////////////////////////////////////////////////////////////////
//
// Spring Engine Source File.
// Copyright (C), Dengtao 2011-2021
// ----------------------------------------------------------------------
// File name:   SfRefObject.cpp
// Version:     v1.0.0
// Created:     2013/06/15 21:52 by dengtao
// Compilers:   Visual Studio 2008
// Description: 
// ----------------------------------------------------------------------
// History:
//
///////////////////////////////////////////////////////////////////////////

#include "SfRefObject.h"

namespace Sunflower
{

//
//Summary:
//	constructor.
RefObject::RefObject()
	: m_RefCount(0)
{
}

//
//Summary:
//	destructor.
RefObject::~RefObject()
{
}

//
//Summary:
//	callback when delete this object.
//	default implement is delete object.
void RefObject::DeleteThis()
{
	delete this;
}

}
